<!DOCTYPE html>
<html  data-spm-anchor-id="0.0.0.i0.1d6916e84bwzc6">
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">

    <meta name="viewport" content="initial-scale=1, maximum-scale=1, minimum-scale=1, user-scalable=no">
    <title></title>
    <style>
        *{margin:0;padding:0;}
        a{color:#666;text-decoration:none;}
        html{font-size:62.5%;}
    </style>
 </head>
<body>
<if condition="!empty($data)">
    <a href="{:url('goods/goods_detail',['id' => $data['id']])}" target="_blank">
        <div style="display:-webkit-box;width:100%;height:auto;overflow:hidden;background:#fff;">
            <div style="width:21%;height:auto;margin-right:0.5rem;"><img width="100%" src="{$data.image}"></div>
            <div style="-webkit-box-flex:1;">
                <h3 style="color:#9b9b9b;line-height:1.3rem;overflow:hidden;margin-top:0.2em;font-size: 1rem">{$data.title}</h3>
                <p style="color:#dc2a2e;font-size:1.2rem;line-height:1.5rem;">￥ {$data.min_price}-{$data.max_price}</p>
            </div>
        </div>
    </a>
</if>
</body></html>
<script>
    (function (doc, win) {
        var docEl = doc.documentElement
        var resizeEvt = 'orientationchange' in window ? 'orientationchange' : 'resize'
        var recalc = function () {
                    var clientWidth = docEl.clientWidth;
                    if (!clientWidth) return;
                    docEl.style.fontSize = 20 * (clientWidth / 320) + 'px';
                };

        if (!doc.addEventListener) return;
        win.addEventListener(resizeEvt, recalc, false);
        doc.addEventListener('DOMContentLoaded', recalc, false);
    })(document, window);
</script>